export default {
  namespaced: true,
  state: {
    checkState: false
  },
  mutations: {
    SET_CHECK_STATE: (state, arg) => {
      state.checkState = arg
    }
  },
  actions: {
    setCheckState({ commit, state }, arg) {
      return new Promise(resolve => {
        commit('SET_CHECK_STATE', arg)
        resolve(arg)
      })
    }
  }
}
